local game = require 'club.threecard.texas'

local ontable_poker = game.ui.element(game.pokerlib.core.poker)

function ontable_poker:ctor()
    self.res = 'club.threecard.texas/ui/ingame.b:ontable_poker'
end

function ontable_poker:on_get()
    self.gray_obj:SetActive(false)
    self.highlight_obj:SetActive(false)
end

function ontable_poker:highlight()
    self.highlight_obj:SetActive(true)
    self.gray_obj:SetActive(false)
end

function ontable_poker:gray()
    self.gray_obj:SetActive(true)
    self.highlight_obj:SetActive(false)
end

return ontable_poker